################################################################################
# cinm-lsp-server
#
# The cinm-lsp-server MLIR language server.
################################################################################

project(cinm-lsp-server)

add_executable(${PROJECT_NAME}
    cinm-lsp-server.cpp
)

# Link all standard MLIR dialect and conversion libs.
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
get_property(dependency_libs GLOBAL PROPERTY CINM_DEPENDENCY_LIBS)
target_link_libraries(${PROJECT_NAME}
    PRIVATE
        MLIRLspServerLib
        ${dialect_libs}
        ${conversion_libs}
        ${dependency_libs}
)
